package com.xms.core.org;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.List;
import java.util.UUID;

public class UserContext implements Serializable {
    @JSONField(name = "businessunitid")
    public UUID BusinessUnitId = null;
    @JSONField(name = "businessunitidname")
    public String BusinessUnitIdName = null;
    @JSONField(name = "issuperadmin")
    public Boolean IsSuperAdmin = null;
    @JSONField(name = "accountname")
    public String AccountName = null;
    @JSONField(name = "organizationid")
    public UUID OrganizationId = null;
    @JSONField(name = "systemuserid")
    public UUID SystemUserId = null;
    @JSONField(name = "username")
    public String UserName = null;
    @JSONField(name = "organizationuniquename")
    public String OrganizationUniqueName = null;

    @JsonIgnore
    public List<UUID> roles = null;
}
